package day0626;

public class Test2Eat {


    public static void main(String[] args) {
        //引用类型
        String  s="面条";
        makeFood(s);

        char h='李';
        Test3.helloToAPerson(h);
    }






    /**makeFood方法：用来模拟做饭，　需要传入做的饭名称*/
    private static void makeFood(String s1) {
        System.out.println("洗菜");
        System.out.println("准备材料");
        System.out.println("开火");
        System.out.println("做" + s1);
        System.out.println("关火");
    }




}
